import { defineStore } from 'pinia'
// import { locGet, locSet } from '@/utils/common'
import type { actionState } from './types/action'

export const actionStore = defineStore('actionStore', {
  state: (): actionState => ({
    isVisible: false,
    modelTitle: '',
    formData: {},
    formList: [],
    rules: {},
    selectionData: [],
  }),
  actions: {},
  getters: {
    // curryNav: (state) => menuArr[state.navKey] ?? menuArr.dataManagement,
    breadcrumbData(state) {},
  },
})
